package com.wayne.sqlSession;

import com.wayne.pojo.Configuration;
import com.wayne.pojo.MappedStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {
  int update(Configuration configuration, MappedStatement mappedStatement, Object parameter) throws Exception;

  <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object parameter) throws Exception;
}
